package com.rentcars.mapper;

import com.rentcars.entity.RoleResource;
import com.rentcars.entity.RoleResourceKey;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RoleResourceMapper {
    int deleteByPrimaryKey(RoleResourceKey key);

    int deleteByRoleId(int roleid);

    int insert(RoleResource record);

    int insertSelective(RoleResource record);

    RoleResource selectByPrimaryKey(RoleResourceKey key);

    int updateByPrimaryKeySelective(RoleResource record);

    int updateByPrimaryKey(RoleResource record);
}